package com.goldcn.orderborrow.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @Description:添加借货DTO
 * @Author Tim Peng
 * @date 2017-4-19 18:25:16
 * @version V1.0
 */
public class AddOrderBorrowDto {
    @NotNull(message="{cartID.not.empty}")
    private Long cartID;
    @ApiModelProperty(value = "收货联系人")
    @NotNull(message="{contactName.not.empty}")
    private String contactName;
    @ApiModelProperty(value = "收货地址")
    @NotNull(message="{contactAddress.not.empty}")
    private String contactAddress;
    @ApiModelProperty(value = "收货手机号")
    @NotNull(message="{contactMobile.not.empty}")
    private String contactMobile;

    @ApiModelProperty(value = "收货地址-短地址,不包含省市区")
    @NotNull(message="{shortAddress.not.empty}")
    private String shortAddress;
    @ApiModelProperty(value = "收货-省Code")
    @NotNull(message="{province.not.empty}")
    private Integer province;
    @ApiModelProperty(value = "收货-市Code")
    @NotNull(message="{city.not.empty}")
    private Integer city;
    @ApiModelProperty(value = "收货-区Code")
    @NotNull(message="{district.not.empty}")
    private Integer district;

    @ApiModelProperty(value = "收货地址ID")
    private Long addressID;

    private Long userID;

    private Long companyID;

    public Long getCartID() {
        return cartID;
    }

    public void setCartID(Long cartID) {
        this.cartID = cartID;
    }


    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactAddress() {
        return contactAddress;
    }

    public void setContactAddress(String contactAddress) {
        this.contactAddress = contactAddress;
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public Long getCompanyID() {
        return companyID;
    }

    public void setCompanyID(Long companyID) {
        this.companyID = companyID;
    }

    public String getShortAddress() {
        return shortAddress;
    }

    public void setShortAddress(String shortAddress) {
        this.shortAddress = shortAddress;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getDistrict() {
        return district;
    }

    public void setDistrict(Integer district) {
        this.district = district;
    }

    public Long getAddressID() {
        return addressID;
    }

    public void setAddressID(Long addressID) {
        this.addressID = addressID;
    }

    public Long getUserID() {
        return userID;
    }

    public void setUserID(Long userID) {
        this.userID = userID;
    }
}
